﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Styx;
using Styx.Combat.CombatRoutine;
using Styx.Helpers;
using Styx.Logic;
using Styx.Logic.BehaviorTree;
using Styx.Logic.Combat;
using Styx.Logic.Pathing;
using Styx.Logic.POI;
using Styx.WoWInternals.WoWObjects;

namespace Healz
{
    public static class MySpellManager
    {
        public static bool HasMyAura(WoWPlayer Player, string SpellName)
        {
            if (!Player.HasAura(SpellName)) return false;
            if (!Player.ActiveAuras[SpellName].IsActive) return false;
            if (Player.ActiveAuras[SpellName].CreatorGuid != StyxWoW.Me.Guid) return false;

            return true;
        }
    }
}
